#!/bin/sh
echo "=== rc.local ==="
sleep 10
if [ -e /var/run/cardmgr.pid ]
then
  if [ -x /mnt/card/setup.sh ]
  then
     /mnt/card/setup.sh
  fi
else
  /sbin/cardmgr
  sleep 8
  if [ -x /mnt/card/setup.sh ]
  then
     /mnt/card/setup.sh
  fi
fi

cd /root
insmod /astro/va1809_drv.o
insmod /astro/va1809_frsw.o
insmod /astro/va1809_lcdif.o
#insmod rb649.o
#insmod vram.o
#./vg848.o &
#sleep 1
echo "=== rc.local end ==="
/astro/udpproc &

